package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.LossStudent;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.query.StudentQuery;

import java.util.List;

public interface LossStudentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LossStudent record);

    LossStudent selectByPrimaryKey(Long id);

    List<LossStudent> selectAll();

    int updateByPrimaryKey(LossStudent record);

    List<LossStudent>selectLossAll(StudentQuery q);

    void audit(Long id);

    void insertLoss(LossStudent s);

    void reverseState(Long id);

    int studentLossCount(StudentQuery q);

}